<template>
  <div id="app">
    <YcInput placeholder="请输入"
             v-model="msg">
    </YcInput>
    <YcButton type="warning"
              size="small"
              @click="msg='你好'">{{msg}}</YcButton>
    <YcImage src="https://fanyi-cdn.cdn.bcebos.com/static/translation/widget/translate/output/img/shortAppQrBg_a6f9273.png"></YcImage>
    <YcSwitch v-model="bool"
              inactive-text="你好"
              active-text="不好"></YcSwitch>
    <YcLink type="success">链接</YcLink>
  </div>
</template>

<script>
import components from './components/pc/index'
export default {
  name: 'app',
  components,
  data () {
    return {
      msg: 'Welcome to Your Vue.js App',
      bool: false
    }
  }
}
</script>

<style lang="scss">
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
